<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Rails::API::RepoTask</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="../../../css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../css/main.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../css/github.css" type="text/css" media="screen" />
<script src="../../../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../js/main.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../js/highlight.pack.js" type="text/javascript" charset="utf-8"></script>

</head>

<body>     
    <div class="banner">
        
            <span>Ruby on Rails v4.0.0</span><br />
        
        <h1>
            <span class="type">Class</span> 
            Rails::API::RepoTask 
            
                <span class="parent">&lt; 
                    
                    <a href="Task.html">Rails::API::Task</a>
                    
                </span>
            
        </h1>
        <ul class="files">
            
            <li><a href="../../../files/railties/lib/rails/api/task_rb.html">railties/lib/rails/api/task.rb</a></li>
            
        </ul>
    </div>
    <div id="bodyContent">
        <div id="content">
  


  


  
  


  


  
    <!-- Method ref -->
    <div class="sectiontitle">Methods</div>
    <dl class="methods">
      
        <dt>A</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="RepoTask.html#method-i-api_dir">api_dir</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>C</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="RepoTask.html#method-i-component_root_dir">component_root_dir</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>L</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="RepoTask.html#method-i-load_and_configure_sdoc">load_and_configure_sdoc</a>
              </li>
            
          </ul>
        </dd>
      
        <dt>R</dt>
        <dd>
          <ul>
            
              
              <li>
                <a href="RepoTask.html#method-i-rails_version">rails_version</a>
              </li>
            
          </ul>
        </dd>
      
    </dl>
  

  



  

    

    

    


    


    <!-- Methods -->
        
      <div class="sectiontitle">Instance Public methods</div>
      
        <div class="method">
          <div class="title method-title" id="method-i-api_dir">
            
              <b>api_dir</b>()
            
            <a href="RepoTask.html#method-i-api_dir" name="method-i-api_dir" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-api_dir_source')" id="l_method-i-api_dir_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/a77ad86ff1be70dee945e6425b3209ab8da72cd4/railties/lib/rails/api/task.rb#L135" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-api_dir_source" class="dyn-source">
                <pre><span class="ruby-comment"># File railties/lib/rails/api/task.rb, line 135</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">api_dir</span>
  <span class="ruby-string">'doc/rdoc'</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-component_root_dir">
            
              <b>component_root_dir</b>(component)
            
            <a href="RepoTask.html#method-i-component_root_dir" name="method-i-component_root_dir" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-component_root_dir_source')" id="l_method-i-component_root_dir_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/a77ad86ff1be70dee945e6425b3209ab8da72cd4/railties/lib/rails/api/task.rb#L131" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-component_root_dir_source" class="dyn-source">
                <pre><span class="ruby-comment"># File railties/lib/rails/api/task.rb, line 131</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">component_root_dir</span>(<span class="ruby-identifier">component</span>)
  <span class="ruby-identifier">component</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-load_and_configure_sdoc">
            
              <b>load_and_configure_sdoc</b>()
            
            <a href="RepoTask.html#method-i-load_and_configure_sdoc" name="method-i-load_and_configure_sdoc" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-load_and_configure_sdoc_source')" id="l_method-i-load_and_configure_sdoc_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/a77ad86ff1be70dee945e6425b3209ab8da72cd4/railties/lib/rails/api/task.rb#L126" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-load_and_configure_sdoc_source" class="dyn-source">
                <pre><span class="ruby-comment"># File railties/lib/rails/api/task.rb, line 126</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">load_and_configure_sdoc</span>
  <span class="ruby-keyword">super</span>
  <span class="ruby-identifier">options</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-string">'-g'</span> <span class="ruby-comment"># link to GitHub, SDoc flag</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
        
        <div class="method">
          <div class="title method-title" id="method-i-rails_version">
            
              <b>rails_version</b>()
            
            <a href="RepoTask.html#method-i-rails_version" name="method-i-rails_version" class="permalink">Link</a>
          </div>
          
          
            <div class="description">
              
            </div>
          
          
          
          
          
            
            <div class="sourcecode">
              
              <p class="source-link">
                Source: 
                <a href="javascript:toggleSource('method-i-rails_version_source')" id="l_method-i-rails_version_source">show</a>
                
                  | <a href="https://github.com/rails/rails/blob/a77ad86ff1be70dee945e6425b3209ab8da72cd4/railties/lib/rails/api/task.rb#L139" target="_blank" class="github_url">on GitHub</a>
                
              </p>
              <div id="method-i-rails_version_source" class="dyn-source">
                <pre><span class="ruby-comment"># File railties/lib/rails/api/task.rb, line 139</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword ruby-title">rails_version</span>
  <span class="ruby-node">&quot;master@#{`git rev-parse HEAD`[0, 7]}&quot;</span>
<span class="ruby-keyword">end</span></pre>
              </div>
            </div>
            
          </div>
                    </div>

    </div>
  </body>
</html>    